﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>新增错误</title>
<style>
body {
	background: -webkit-linear-gradient(left, #25c481, #25b7c4);
	background: linear-gradient(to right, #25c481, #25b7c4);
	font-family: 'Roboto', sans-serif;
}

#main {
	margin: 50px auto;
	width: 40% ;
	border-radius:10px;
	background-color: rgba(255, 64, 0, .1);
	padding:10px;
	font-size:12px;
}

table {
	width: 100%;
	border-spacing: 10px 30px;
}

th {
	border-bottom: 2px solid #ccc;
}

td {
	text-align: left;
}

tr td:first-child {
	text-align: right;
	background-color:rgba(0, 0, 255, .2);
	font-size:16px;
	font-weight:700;
}

td:last-child {
	background-color:rgba(0,0,0	,.5);
}

tr:last-child td{
	background:none;
}

h1 {
	text-align: center;
	color: rgba(0, 0, 255, .5);
	background-color:rgba(255,64,0,.5);
}

input[type=text] {
	border:none;
	border-bottom: 1px solid #00f;
	outline:none;
	background:none;
}

textarea{
	border:none;
	border-bottom: 1px solid #00f;
	outline:none;
	background:none;
}

.btn {
	text-decoration: none;
	color: #fff;
	background-color: rgba(0, 0, 255, .2);
	padding: 5px 10px;
	border:none;
	border-radius: 5px;
	margin-left: 32px;
}

.btn:hover {
	background-color: rgba(0, 0, 255, .5);
	box-shadow: 0 0 5px 0 rgb(0, 0, 0);
}
</style>
<script>
	
</script>
</head>
<body>
	<div id="main">
		<h1>新增错误登记</h1>
		<form action="add" method="post" enctype="multipart/form-data">
			<table>
				<tbody>

					<tr>
						<td>标题</td>
						<td><input name="title" type="text"></td>
					</tr>
					<tr>
						<td>错误图片</td>
						<td><input type="file" name="img" /></td>
					</tr>
					<tr>
						<td>错误描述</td>
						<td><textarea name="answer" cols="50" rows="5"></textarea></td>
					</tr>					<tr>
					<td>检索标签</td>
						<td><input name="tip" type="text"></td>
					</tr>
					<tr>
						<td>解决方式</td>
						<td><textarea name="dealtype" cols="50" rows="10"></textarea>
						</td>
					</tr>

					<tr>
						<td><input type="submit" value="添加" class="btn"></td>
						<td><input type="reset" value="重置" class="btn"></td>
					</tr>
				</tbody>
			</table>
		</form>
	</div>

</body>
</html>